package org.third.integration.vault;

import java.io.IOException;

public interface VaultBinClient {
	
	public String createRoleId(String vaultNamespace, String appRole) throws Exception;
	
	public int storeSecret(String vaultNamespace, String appRole, String roleId, String secretKey, String secretValue) throws Exception;
	
	public String getSecret(String secretKey) throws Exception;

	public String createRoleId(String vaultNamespace, AppRoleExtend appRoleExtend) throws IOException, InterruptedException, Exception;

	public String createRoleId(String vaultNamespace, AppRoleExtend appRoleExtend, String extendNameSpace) throws Exception ;
	
}
